/*微信*/

#wrap-chat{
    height: 100%;
    flex-grow: 1;  /*占用布局剩余部分*/
    overflow-y: scroll;/*裁剪剩余部分,滚动显示*/
    background: white;
}

/*搜索框*/
#search{
    height: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 1px solid gainsboro;
    box-shadow: 0 0 2px ghostwhite;
}

#search input{
    height: 26px;
    width: 99%;
    border: 1px solid gainsboro;
    box-shadow: 0 0 10px gainsboro inset;
    background: url("../static/img/icon/control/搜索.svg") no-repeat;
    background-size: 16px;/*背景大小*/
    background-position: center;/*背景居中*/
}

/*获取焦点取消背景*/
#search input:focus{
    background: none;
}

/*对话列表*/
#lists{
    display: flex;
    flex-flow: column;
    overflow-y: scroll;
    width: 100%;
    margin: 0 auto;
}

/*每个消息*/
.content{
    height: 64px;
    background: #fafafa;
    border-bottom: 1px gainsboro solid;
    padding: 0 4px 0 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-left{
    height: 52px;
    width: 52px;
}

.content-left img{
    width: 52px;
    height: 52px;
    border-radius: 6px;
}

/*用户名和聊天信息*/
.content-center{
    height: 52px;
    flex-grow: 1;/*占用剩余全部布局*/
    padding-left: 8px;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    white-space: nowrap;   /*强制不换行*/
    overflow: hidden;  /*超出部分隐藏*/
}
.username{
    width: 100%;
    height: 24px;
    font-size: 1em;
    color: #424242;
    font-weight: 500;
}
.text,.text-radio{
    width: 100%;
    height: 20px;
    font-size: 14px;
    color: #9e9e9e;
}

/*语音*/
.text-radio{
    color: #bf360c;
}
.content-right{
    height: 52px;
    width: 60px;
    font-size: 10px;
    text-align: right; /*文字居右*/
    color: #9e9e9e;
}

/*新消息数量显示*/
.new-msg{
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: red;
    font-weight: 600;
    font-size: 10px;
    color: white;
    line-height: 14px;
    text-align: center;
    position: relative;
    top: -55px;
    left: 45px;
}